package com.turing.post.organization.util;

import java.math.BigInteger;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 凭证入库单接口
 * 
 * @author wzd
 * @2013-03-13
 */
@Remote
@Local
public interface VoucherInStockOrderBusiness {

	/**
	 * 新增凭证入库单
	 * 
	 * @param voucherInStockOrder
	 *            凭证入库单
	 * @param List
	 *            <VoucherTransferOrder> 凭证入库单明细列表
	 * @throws PCPSApplicationException
	 */
	public BigInteger insertVoucherInStockOrder(PCPSWebInput webInput,
			VoucherInStockOrder voucherInStockOrder,
			List<VoucherInStockOrderDetail> datil)
			throws PCPSApplicationException;

	/**
	 * 修改凭证入库单状态
	 * 
	 * @param voucherInStockOrder
	 *            凭证入库单
	 * @throws PCPSApplicationException
	 */
	public void updateVoucherInStockOrderByStatus(PCPSWebInput webInput,
			VoucherInStockOrder voucherInStockOrder)
			throws PCPSApplicationException;

}
